/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.slayer.model;

import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

import java.util.Date;

/**
 * The base model interface for the BMSBorrowing service. Represents a row in the &quot;BMS_BMSBorrowing&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link com.slayer.model.impl.BMSBorrowingModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.slayer.model.impl.BMSBorrowingImpl}.
 * </p>
 *
 * @author Hemant
 * @see BMSBorrowing
 * @see com.slayer.model.impl.BMSBorrowingImpl
 * @see com.slayer.model.impl.BMSBorrowingModelImpl
 * @generated
 */
public interface BMSBorrowingModel extends BaseModel<BMSBorrowing> {
	/*
	 * NOTE FOR DEVELOPERS:
	 *
	 * Never modify or reference this interface directly. All methods that expect a b m s borrowing model instance should use the {@link BMSBorrowing} interface instead.
	 */

	/**
	 * Returns the primary key of this b m s borrowing.
	 *
	 * @return the primary key of this b m s borrowing
	 */
	public long getPrimaryKey();

	/**
	 * Sets the primary key of this b m s borrowing.
	 *
	 * @param primaryKey the primary key of this b m s borrowing
	 */
	public void setPrimaryKey(long primaryKey);

	/**
	 * Returns the borrowing ID of this b m s borrowing.
	 *
	 * @return the borrowing ID of this b m s borrowing
	 */
	public long getBorrowingId();

	/**
	 * Sets the borrowing ID of this b m s borrowing.
	 *
	 * @param borrowingId the borrowing ID of this b m s borrowing
	 */
	public void setBorrowingId(long borrowingId);

	/**
	 * Returns the book ID of this b m s borrowing.
	 *
	 * @return the book ID of this b m s borrowing
	 */
	public long getBookId();

	/**
	 * Sets the book ID of this b m s borrowing.
	 *
	 * @param bookId the book ID of this b m s borrowing
	 */
	public void setBookId(long bookId);

	/**
	 * Returns the member ID of this b m s borrowing.
	 *
	 * @return the member ID of this b m s borrowing
	 */
	public long getMemberId();

	/**
	 * Sets the member ID of this b m s borrowing.
	 *
	 * @param memberId the member ID of this b m s borrowing
	 */
	public void setMemberId(long memberId);

	/**
	 * Returns the date borrowed of this b m s borrowing.
	 *
	 * @return the date borrowed of this b m s borrowing
	 */
	public Date getDateBorrowed();

	/**
	 * Sets the date borrowed of this b m s borrowing.
	 *
	 * @param dateBorrowed the date borrowed of this b m s borrowing
	 */
	public void setDateBorrowed(Date dateBorrowed);

	/**
	 * Returns the date returned of this b m s borrowing.
	 *
	 * @return the date returned of this b m s borrowing
	 */
	public Date getDateReturned();

	/**
	 * Sets the date returned of this b m s borrowing.
	 *
	 * @param dateReturned the date returned of this b m s borrowing
	 */
	public void setDateReturned(Date dateReturned);

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public Serializable getPrimaryKeyObj();

	public void setPrimaryKeyObj(Serializable primaryKeyObj);

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(BMSBorrowing bmsBorrowing);

	public int hashCode();

	public CacheModel<BMSBorrowing> toCacheModel();

	public BMSBorrowing toEscapedModel();

	public String toString();

	public String toXmlString();
}